import {fileUrl} from './config';
// const icons = import.meta.glob('@/static/img/*.png', {eager: true});
let obj = {
    logo: 'logo',
    distance: 'icon-distance',
    banner: 'img-banner',
    cover1: 'img-cover1',
    cover2: 'img-cover2',
    search: 'offline-icon-search',
    site: 'offline-icon-site',
    write: 'icon-write',
    talk: 'icon-talk',
    share: 'icon-share',
    share2: 'icon-share2',
    like: 'icon-like',
    likeDef: 'icon-like-def',
    likePre: 'icon-like-pre',
    collectDef: 'icon-collect-def',
    collectPre: 'icon-collect-pre',
    historicalactivities: 'button-historicalactivities',
    establishbranchBtn: 'button-establishbranch',
    detailsbanner: 'img-detailsbanner',
    signin: 'icon-signin',
    signinPre: 'icon-signin-pre',
    navigation: 'icon-navigation',
    member: 'icon-member',
    enroll: 'icon-enroll',
    time: 'icon-time',
    draft: 'icon-draft',
    invite: 'img-invite',
    setting: 'icon-setting',
    presidentmenu: 'icon-presidentmenu',
    order: 'icon-order',
    mymember: 'icon-mymember',
    invitationcode: 'icon-invitationcode',
    establishbranch: 'icon-establishbranch',
    edit: 'icon-edit',
    customer: 'icon-customer',
    creation: 'icon-creation',
    contactbranchpresident: 'icon-contactbranchpresident',
    collect: 'icon-collect',
    activity: 'icon-activity',
    onlinePre: 'tab-icon-online-pre',
    onlineDef: 'tab-icon-online-def',
    offlinePre: 'tab-icon-offline-pre',
    offlineDef: 'tab-icon-offline-def',
    communityPre: 'tab-icon-community-pre',
    communityDef: 'tab-icon-community-def',
    minePre: 'tab-icon-mine-pre',
    mineDef: 'tab-icon-mine-def',
    add: 'tab-icon-add',
    draft2: 'icon-draft2',
    article: 'icon-article',
    book: 'icon-book',
    note: 'icon-note',
    frame: 'bg-frame',
    eventmanagement: 'icon-eventmanagement',
    membermanagement: 'icon-membermanagement',
    mybranch: 'icon-mybranch',
    wallet: 'icon-wallet',
    vipbanner: 'img-vipbanner',
    infinite: 'icon-infinite',
    initiatives: 'icon-initiatives',
    association: 'icon-association',
    customized: 'icon-customized',
    refund: 'icon-refund',
    other: 'icon-other',
    remarks: 'icon-remarks',
    brief: 'iocn-brief',
    alternateDef: 'icon-alternate-def',
    alternatePre: 'icon-alternate-pre',
    avatar: 'icon-avatar',
};
let newObj = {};
let t = new Date().getTime();
for(let key in obj){
    obj[key] = fileUrl + obj[key] + '@3x.png?t=' + t;
}
export default obj;
// export default {
//   offline: import.meta.glob('@/static/img/tab-icon-offline-def@3x.png'),
//   offline2: require('@/static/img/tab-icon-offline-pre@3x.png'),
//   online: require('@/static/img/tab-icon-online-def@3x.png'),
//   online2: require('@/static/img/tab-icon-online-pre@3x.png'),
//   community: require('@/static/img/tab-icon-online-def@3x.png'),
//   community2: require('@/static/img/tab-icon-online-pre@3x.png'),
//   mine: require('@/static/img/tab-icon-online-def@3x.png'),
//   mine2: require('@/static/img/tab-icon-online-pre@3x.png'),
//   add: require('@/static/img/tab-icon-add@3x.png'),
// }